package net.zdreamer.geracomium.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class GeracomiumReserveInfos implements Serializable {
	public List<AreaInfos> items;
	
	public class AreaInfos implements Serializable {
		public List<AreaInfo> areaInfos;
		public String areaId;
		public String areaName;
		
		public class AreaInfo implements Serializable {
			public String imageURL;
			public String floorInfo;
			public String square;
			public String roomCount;
			public String phoneNum;
			public String surplus;
			
			public AreaInfo() {
				imageURL = null;
				floorInfo = "A区一层";
				square = "35平方米";
				roomCount = "两房屋";
				phoneNum = "1388888888";
				surplus = "20";
			}
		}
		
		public AreaInfos() {
			areaId = "1";
			areaName = "A区";
			areaInfos = new ArrayList<AreaInfo>();
			AreaInfo[] ais = new AreaInfo[2];
			for (AreaInfo areaInfo : ais) {
				areaInfo = new AreaInfo();
				areaInfos.add(areaInfo);
			}
		}
	}
	
	public GeracomiumReserveInfos() {
		items = new ArrayList<AreaInfos>();
		AreaInfos[] aiss = new AreaInfos[6];
		for (AreaInfos areaInfos : aiss) {
			areaInfos = new AreaInfos();
			items.add(areaInfos);
		}
	}
}
